<!--

    Copyright (c) 2015-2017 Red Hat, Inc.
    All rights reserved. This program and the accompanying materials
    are made available under the terms of the Eclipse Public License v1.0
    which accompanies this distribution, and is available at
    http://www.eclipse.org/legal/epl-v10.html

    Contributors:
      Red Hat, Inc. - initial API and implementation

-->
<form name="createProjectZipForm" layout="column" class="create-project-zip">
  <div layout="row" flex ng-init="createProjectCtrl.setForm(createProjectZipForm, 'zip');"></div>
  <che-label-container che-label-name="Zip URL">
    <div class="create-project-zip-input">
      <che-input che-form="createProjectZipForm"
                 che-name="remotezipURL"
                 che-place-holder="Url of the zip file"
                 aria-label="Url of the zip file"
                 che-width="auto"
                 ng-model="createProjectCtrl.importProjectData.source.location"
                 required>
        <div ng-message="required">A zip URL is required.</div>
      </che-input>
      <md-checkbox ng-model="createProjectCtrl.importProjectData.source.parameters.skipFirstLevel"
                   aria-label="Skip the root folder of the archive"
                   class="create-project-zip-checkbox">
        Skip the root folder of the archive
      </md-checkbox>
    </div>
  </che-label-container>
</form>
